def func():
    print('我是 tools 模块中的 func 函数')


class Dog:
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def play(self):
        print(f'{self.name}在快乐的玩耍')


def add(a, b):
    return a + b


class Animal():
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def play(self):
        print(f'{self.name}快乐的玩耍')

    class_name = '动物类'

